#!/usr/bin/python2.5
import sys, os

# make stdout go to stderr for wsgi apps
sys.stdout = sys.stderr

# Add a custom Python path for this project.
sys.path.insert(0, "/dir/to/projects/repsheet/apps")
sys.path.insert(0, "/dir/to/projects")
os.environ['PYTHON_EGG_CACHE'] = '/dir/to/home/writeable/.python-eggs'
# Import our django handler
import django.core.handlers.wsgi

# Set the DJANGO_SETTINGS_MODULE environment variable.
os.environ['DJANGO_SETTINGS_MODULE'] = "repsheet.settings"
application = django.core.handlers.wsgi.WSGIHandler()
